Skip to content

refac(ske): Use new WaitHelper for waiters#7725

Open
Fyusel wants to merge 1 commit into
mainfrom
refactor-ske-wait-handler
Open

refac(ske): Use new WaitHelper for waiters#7725
Fyusel wants to merge 1 commit into
mainfrom
refactor-ske-wait-handler

Conversation

@Fyusel

@Fyusel Fyusel commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

STACKITSDK-393

Description

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs
    • Changelog in the root directory was adjusted (see here)
    • Changelog(s) of the service(s) were adjusted (see e.g. here)
  • VERSION file(s) of the service(s) were adjusted
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@Fyusel Fyusel requested a review from a team as a code owner June 3, 2026 08:54
@Fyusel Fyusel force-pushed the refactor-ske-wait-handler branch 3 times, most recently from 772fb60 to 27de359 Compare June 3, 2026 11:31
}

// createOrUpdateClusterWaitHandler will wait for cluster creation or update
func createOrUpdateClusterWaitHandler(ctx context.Context, a ske.DefaultAPI, projectId, region, name string) *wait.AsyncActionHandler[ske.Cluster] {

@rubenhoenle rubenhoenle Jun 3, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a breaking change, you can't do this.

You must keep CreateOrUpdateClusterWaitHandler with public visibility, you can just deprecate it and mark it for removal ("removal" from user perspective, actually we will be changing it to private visibility) in 6 months. Deprecation should contain instructions to migrate to CreateClusterWaitHandler and UpdateClusterWaitHandler.

@rubenhoenle rubenhoenle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No breaking change pls

@Fyusel Fyusel force-pushed the refactor-ske-wait-handler branch 2 times, most recently from b4f9ee5 to c37d375 Compare June 8, 2026 06:40
STACKITSDK-393

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
@Fyusel Fyusel force-pushed the refactor-ske-wait-handler branch from c37d375 to 7a2090d Compare June 8, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants